package org.edu.modules.sxjy.vo;

import java.io.Serializable;
import org.edu.modules.sxjy.common.noresubmit.CacheParam;

public class VePostUpdateVo
        implements Serializable
{
    private int id;
    @CacheParam(name="cpId")
    private int cpId;
    @CacheParam(name="postName")
    private String postName;
    @CacheParam(name="cteacherUser")
    private String cteacherUser;
    @CacheParam(name="cteacherUserId")
    private int cteacherUserId;
    @CacheParam(name="status")
    private int status;

    public void setPostName(String postName)
    {
        this.postName = postName;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;result = result * 59 + getId();result = result * 59 + getCpId();result = result * 59 + getCteacherUserId();result = result * 59 + getStatus();Object $postName = getPostName();result = result * 59 + ($postName == null ? 43 : $postName.hashCode());Object $cteacherUser = getCteacherUser();result = result * 59 + ($cteacherUser == null ? 43 : $cteacherUser.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VePostUpdateVo;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VePostUpdateVo)) {
            return false;
        }
        VePostUpdateVo other = (VePostUpdateVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (getId() != other.getId()) {
            return false;
        }
        if (getCpId() != other.getCpId()) {
            return false;
        }
        if (getCteacherUserId() != other.getCteacherUserId()) {
            return false;
        }
        if (getStatus() != other.getStatus()) {
            return false;
        }
        Object this$postName = getPostName();Object other$postName = other.getPostName();
        if (this$postName == null ? other$postName != null : !this$postName.equals(other$postName)) {
            return false;
        }
        Object this$cteacherUser = getCteacherUser();Object other$cteacherUser = other.getCteacherUser();return this$cteacherUser == null ? other$cteacherUser == null : this$cteacherUser.equals(other$cteacherUser);
    }

    public void setStatus(int status)
    {
        this.status = status;
    }

    public void setCteacherUserId(int cteacherUserId)
    {
        this.cteacherUserId = cteacherUserId;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public void setCpId(int cpId)
    {
        this.cpId = cpId;
    }

    public String toString()
    {
        return "VePostUpdateVo(id=" + getId() + ", cpId=" + getCpId() + ", postName=" + getPostName() + ", cteacherUser=" + getCteacherUser() + ", cteacherUserId=" + getCteacherUserId() + ", status=" + getStatus() + ")";
    }

    public void setCteacherUser(String cteacherUser)
    {
        this.cteacherUser = cteacherUser;
    }

    public int getId()
    {
        return this.id;
    }

    public int getCpId()
    {
        return this.cpId;
    }

    public String getPostName()
    {
        return this.postName;
    }

    public String getCteacherUser()
    {
        return this.cteacherUser;
    }

    public int getCteacherUserId()
    {
        return this.cteacherUserId;
    }

    public int getStatus()
    {
        return this.status;
    }
}
